home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / fractals / mandelsquare / mandelsquare-1.06.lha / Font.c < prev    next >
C/C++ Source or Header  |  1992-09-01  |  2KB  |  72 lines

  1. /*
  2. **    MandelSquare - AmigaDOS 2.0/3.0 Mandelbrot set explorer
  3. **
  4. **    Font.c, Coordinates display font
  5. **
  6. **    Copyright © 1991-1992 by Olaf `Olsen' Barthel
  7. **        All Rights Reserved
  8. */
  9.  
  10.     /* The following data was created using the program `ExtractFont'.
  11.      * It is a run-dump of a proportional font which contains digits,
  12.      * the decimal point and a couple of symbols.
  13.      */
  14.  
  15. STATIC UBYTE FontName[] = "digit.font";
  16.  
  17. STATIC UWORD CharData[] =
  18. {
  19.     0xf680,0x00c9,0x987d,0xbd98,
  20.     0x96d4,0x0f3a,0x64e2,0x0664,
  21.     0xc92f,0xc128,0x897f,0x899c,
  22.     0x9554,0x0f29,0x27c6,0x5244,
  23.     0xf500,0x20df,0xd879,0x9198,
  24.     0x0000,0x0000,0x0000,0x0000
  25. };
  26.  
  27. STATIC ULONG CharLoc[] =
  28. {
  29.     0x00000000,0x00000000,0x00000000,0x00000000,
  30.     0x00000003,0x00000000,0x00000000,0x00000000,
  31.     0x00030003,0x00060003,0x00090003,0x000c0003,
  32.     0x00000000,0x000f0003,0x00120002,0x00140003,
  33.     0x00170004,0x001b0003,0x001e0004,0x00220004,
  34.     0x00260004,0x002a0004,0x002e0004,0x00320004,
  35.     0x00360004,0x003a0004
  36. };
  37.  
  38. STATIC UWORD CharSpace[] =
  39. {
  40.     0x0005,0x0000,0x0000,0x0000,0x0004,0x0000,0x0000,0x0000,
  41.     0x0004,0x0004,0x0004,0x0004,0x0005,0x0004,0x0002,0x0004,
  42.     0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,0x0005,
  43.     0x0005,0x0005
  44. };
  45.  
  46. STATIC UWORD CharKern[] =
  47. {
  48.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  49.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  50.     0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  51.     0x0000,0x0000
  52. };
  53.  
  54. struct TextFont DigitFont =
  55. {
  56.     { { NULL,NULL,NT_FONT,0,FontName},NULL,42},
  57.     6,
  58.     FS_NORMAL,
  59.     FPF_DESIGNED|FPF_PROPORTIONAL|FPF_WIDEDOT|FPF_DISKFONT,
  60.     5,
  61.     4,
  62.     1,
  63.     0,
  64.     32,
  65.     57,
  66.     (APTR)CharData,
  67.     8,
  68.     (APTR)CharLoc,
  69.     (APTR)CharSpace,
  70.     (APTR)CharKern
  71. };
  72.